<script type="text/javascript">
    tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        width : "400",
        height: "200",
    });
</script>
<script type="text/javascript" >
    sttheme.load_tooltip();
    sttheme.on_submitform('#settingForm', function(){
        sttheme.loadPage('index', '', '<?php _e("Successful", $config['plugin_name']) ?>');
    });
     jQuery('#submit').live('click',function(){
        jQuery('#footer_address').html(tinyMCE.get('footer_address').getContent());
        jQuery('#footer_showroom').html(tinyMCE.get('footer_showroom').getContent());
    });
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
        <form class="stform" id="settingForm" action="<?php echo admin_url('/admin.php?page=' . $config['theme_name'] . '&action=' . $current_action) ?>" method="post" >
            <br clear="both" />
            <ul>
                <li>
                    <label><?php _e('Footer Address', $config['theme_name']) ?>:</label>
                    <div>
                        <textarea id="footer_address" name="data[footer_address]" cols="60" rows="60"><?php echo $option['footer_address'] ?></textarea>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Footer Showroom', $config['theme_name']) ?>:</label>
                    <div>
                        <textarea id="footer_showroom" name="data[footer_showroom]" cols="60" rows="60"><?php echo $option['footer_showroom'] ?></textarea>
                    </div>
                    <br clear="both" />
                </li>
                 <li>
                    <label><?php _e('Email Contact', $config['theme_name']) ?>:</label>
                    <div>
                        <input value="<?php echo $option['email_contact'] ?>" class="" name="data[email_contact]"  type="text"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <input type="submit" value="Submit"/>
                </li>


            </ul>
        </form>
    </div>
</div>
<style type="text/css">
#stcontainer form.stform ul li div div{
    width: 378px;
}
#stcontainer form.stform ul li div{
    width: 389px;
}
#stcontainer form.stform ul li {
    width: 630px;
}
</style>